package com.shenfa.dao;

import java.util.List;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import com.shenfa.bean.Resource;


public class ResourceDao{
	//@Autowired
	private SqlMapClientTemplate sqlMapClientTemplate;
	
	@SuppressWarnings("unchecked")
	public List<Resource> getAllResource(){
		return sqlMapClientTemplate.queryForList("system_manager.get_resources");
	}

}
